﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="StylesChoiceFiltersExample.aspx.cs" Inherits="Examples_StylesChoiceFiltersExample" %>

<%@ Register TagPrefix="mobile"
    Namespace="System.Web.UI.MobileControls"
    Assembly="System.Web.Mobile" %>
<mobile:Form id="Form1" runat="server">
    <mobile:Label id="Label1" runat="server" StyleReference="Header">
        Device Specific
    </mobile:Label>
    <mobile:TextView id="TextView1" runat="server">
        The heading is shown normal sized on WML browsers and large on
        all other browsers.
    </mobile:TextView>
</mobile:Form>
   
<mobile:StyleSheet id="StyleSheet1" runat="server">
    <Style Name="Header"
        Font-Size="Large"
        Font-Bold="True"
        Alignment="Center">
        <DeviceSpecific>
            <Choice Filter="isWML11" Font-Size="Normal"></Choice>
        </DeviceSpecific>
    </Style>
</mobile:StyleSheet>